#ifndef XABSTRACTSYNATXTREEBLOCK_H
#define XABSTRACTSYNATXTREEBLOCK_H
#include <xscript/xabstractsyntaxtree.h>

class XAbstractSyntaxTreeBlock : public XAbstractSyntaxTree {
  public:
    XAbstractSyntaxTreeBlock(XTokenPtr inputToken);
  public:
    XAbstractSyntaxTreeType getTreeType()const override {return XAbstractSyntaxTreeType_Block;}
    bool invoke(std::shared_ptr<XVariableTable> table) override;
  protected:
};

#endif // XABSTRACTSYNATXTREEBLOCK_H
